package test;

public class Sleeps {

    public static void waitForExit() throws Exception {
        while (true) {
            synchronized (Sleeps.class) {
                Sleeps.class.wait(2000L);
            }
        }

    }
}
